package ywxt.tool.stool.repository

import org.springframework.data.mongodb.repository.ReactiveMongoRepository
import reactor.core.publisher.Mono
import ywxt.tool.stool.entity.UrlEntity

interface UrlRepository : ReactiveMongoRepository<UrlEntity, String> {

    fun getByOrigin(origin: String): Mono<UrlEntity>

}